package com.atguigu.eduservice.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class TeacherQuery {

    /**
     *  分页条件查询封装的实体类
     */

    @ApiModelProperty(value = "教师名称，模糊查询")
    private String name;
    @ApiModelProperty(value = "头衔，1高级讲师，2首席讲师")
    private Integer level;
    @ApiModelProperty(value = "查询开始时间",example = "2020-01-01 10:10:10")
    private String begin; //String类型，前端传过来的数据不用数据类型转换
    @ApiModelProperty(value = "查询结束时间",example = "2020-012-01 10:10:10")
    private String end;
}
